#version 330 core

layout(location=0) in vec3 aPos;

uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;

void main(){
    // 此时已经将坐标归一化到了立方体
    gl_Position = projection * view * model * vec4(aPos.xyz, 1.0);

}